package com.example.medical_delivery_system.service;

import com.example.medical_delivery_system.entity.Product;
import com.example.medical_delivery_system.util.PageQueryUtil;
import com.example.medical_delivery_system.util.PageResult;

/**
 * Param：20201003013
 * Author：李镇荣
 * Data：2022/12/21
 */
public interface AdminProductService {

    /**
     * 后台分页
     *
     * @param pageUtil
     * @return
     */
    PageResult getProductPage(PageQueryUtil pageUtil);

    String saveProduct(Product product);

    String updateProduct(Product product);

    Product getProductById(Long id);

    Boolean deleteBatch(Long[] ids);
}
